﻿using Domain.Entity.user;
using Domain.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.AppService.LoginAppService
{
    public class UserAppService : IUserAppService
    {
        private readonly IUserRepository userRepository;

        public UserAppService(IUserRepository userRepository ) 
        {
            this.userRepository = userRepository;
        }
        public Task<Users> GetUsers(Users users)
        {
            return userRepository.GetUsers(users);
        }
    }
}
